package org.zfm.base;

import org.zfm.org.domain.Department;
import java.io.Serializable;
import java.util.List;

public interface BaseMapper<T> {
    public void insert(T t);
    public void update(T t);
    public void delete(Serializable id);
    public Long queryTotal(BaseQuery query);
    public List<Department> queryList(BaseQuery query);
    public List<T> selectAll();
    public T selectById(Serializable id);
    public Integer batchDelete(List<Long> ids);
}
